package com.todod.base.module.infra.controller.admin.baseofficialletter.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 公函 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BaseOfficialLetterRecordsRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "公函管理id", requiredMode = Schema.RequiredMode.REQUIRED, example = "19109")
    private Long officialLetterId;

    @Schema(description = "审批结果", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer approveResult;

    @Schema(description = "审批意见", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String approveOpinion;

    @Schema(description = "创建人", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long creator;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private LocalDateTime createTime;

}